如何在Unity Desktop显示坚果铺子提示图标?

有用户反馈, 在Unity Desktop, 例如在Ubuntu 11.04下,  menu bar上的坚果铺子图标无法显示, 但是坚果铺子进程仍然能够正常运行.

这是因为Unity Desktop用了一种新的方式来显示状态提示信息, 现在的Nutstore程序还不支持这个新的方式.

幸运的是, 只要运行如下命令即可解决这个问题(在Unbutu 11.04下经过测试):

$ gsettings set com.canonical.Unity.Panel systray-whitelist "['JavaEmbeddedFrame', 'Mumble', 'Wine', 'Skype', 'hp-systray', 'SWT']"

你需要logout再login以应用以上指令. 实际上, 我们只是添加”SWT”一类应用程序(包括Nutstore)到Unity systray. 前面几种应用类型为系统默认设置. 你可以通过如下命令查看系统默认设置:

$ gsettings get com.canonical.Unity.Panel systray-whitelist

新的坚果铺子安装包中INSTALL文件, 已经包括如上指令. 这里有更多的详细信息.